package com.itheima.controller.parts;

import com.itheima.pojo.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.Mapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/hellos")
@Slf4j
public class HelloFuController {
    @GetMapping("/fu")
    public Result hello() {
        log.info("fu");
        return Result.success("fu");
    }
}
